package com.xiaoshuidi.cloud.module.rooms.controller.admin.roomequipmentcategory.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 资产类别表
 * </p>
 *
 * @author Link
 * @since 2023-05-18
 */
@Data
@Schema(description="资产类别表 baseVO")
public class EquipmentCategoryBaseVo {

    @Schema(description = "资产类别名称")
    private String name;

    @Schema(description = "资产类别名称修改之前的名称")
    private String oldName;

    @Schema(description = "上级分类")
    private Long pcategoryId;

    @Schema(description = "上级分类名称")
    private String pcategoryName;

    @Schema(description = "编码")
    private String code;

    @Schema(description = "计量单位")
    private String unit;

    @Schema(description = "保修时长(月)")
    private String warrantyMonth;

    @Schema(description = "使用期限")
    private String shelfLife;

    @Schema(description = "资产类型类别 1系统预设 2自定义")
    private Integer type;

}
